import React, { Component } from "react";
import { Modal, Button } from "antd";

class Verification extends Component {
  render() {
    return (
      <Modal
        title=""
        wrapClassName="verification-modal"
        visible={true}
        width={400}
        footer={null}
        onCancel={this.props.closeModal}
      >
        <div className="verification-content">
          <i className="iconfont icon-icon" />
        </div>
        <p className="message">交易前, 请先设置交易验证方式</p>
        <div className="footer-btn">
          <Button type="normal" onClick={this.props.closeModal}>
            暂不设置
          </Button>
          <Button type="primary" onClick={this.props.gotoSetting}>
            立即设置
          </Button>
        </div>
      </Modal>
    );
  }
}

export default Verification;
